package multimedia;

import java.awt.Graphics;

import javax.swing.JPanel;

public class MultimediaListPanel extends JPanel implements MultimediaListListener{

	private static final long serialVersionUID=0;
	
	public MultimediaListPanel (MultimediaList list){
		
		super();
		this.list = list;
		
	}
	public void update(Placer list){
		
		this.repaint();
		
	}
	protected void paintComponent(Graphics graphics){
		
		super.paintComponent(graphics);
		list.draw(graphics);
		
	}
	
	
	private MultimediaList list;
	
	
}
